home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Education
/
PC-SiG's World of Education.iso
/
wor
/
disk2714.zip
/
MANUAL.DOC
< prev
next >
Wrap
Text File
|
1980-01-01
|
133KB
|
2,856 lines
GEdit Editing System Version 1.71
The Global Editor
Copyright by Cat Creek Enterprises, Inc. 1990, 1992
P. O. Box 606
Bristol, TN 37621-0606
This manual was prepared using GEdit
Table of Contents
Chapter 1: Introduction 7
Chapter 2: Registering 12
Chapter 3: Installing 14
Floppy Drive System 14
Hard Drive System 14
Chapter 4: Getting Started 16
Starting GEdit 16
Using Menus 16
Main Menu 17
Edit 17
System 17
Setup 18
Help 18
Print 18
Using a Mouse 18
Chapter 5: Getting Help 20
Chapter 6: Setting Up 21
Setup Menu 21
File Settings 21
Word Wrap 21
Line Length for Text Files 21
Line Length for Non-Text Files 21
Default Extension 21
Automatic Backup 21
Journaling 21
Expand Tabs in Text Files 21
Append EOF Character 21
Edit Settings 22
Typing Mode 22
Typematic Speed 22
Auto-Indent 22
Columns in Indent 22
Tab Positions 22
Columns in Screen Shift 22
Display Column or File Position 22
Function Key Assignments 22
Cursor Size 23
Display End-of-Line Symbols 23
Display Spaces as Dots 23
Display Non-Text Symbols as Dots 23
Produce Matching Symbols 23
Number of Lines to Display 23
Number of Columns to Display 23
Number of Columns in Screen Width 23
EGA 43/VGA 50 Line Mode 23
Force Monochrome Mode 23
Screen Settings 24
Foreground Color 24
Background Color 24
Menu Foreground Color 24
Menu Background Color 24
Table of Contents (cont)
Menu Bar Foreground Color 24
Menu Bar Background Color 24
Save Settings 24
Choose Settings 24
Chapter 7: Editing
Types of Editing 25
Create, Display, and Edit Source Code 25
Word Processing 25
Create, Display, and Edit DOS Batch Files 25
Line Drawing 25
Display and Edit Non-Text Files 25
Create, Display, and Edit Data Files 25
Edit dBASE Files 25
Special Purpose Editing 25
Compiling from the Editor 26
Edit Menu 27
Text File Editor 27
Stream Editor 27
Edit Non-Text Files 27
Edit Disk Sectors 27
Edit Memory 27
Hex Editor 27
dBASE Editor 27
Create New File 27
Modify Structure 27
Copy Structure 27
Edit File 27
Import File as ASCII File 27
Editing Large Files 28
Methods of Entering File Name 28
Passing as Parameter 28
Entering at Prompt 28
Selecting from Directory 28
Selecting from History 28
Status Line 29
Ruler line 29
Bottom Information Line 29
Entering Non-Key Characters 29
Edit Commands 29
Menus 29
GEdit Main 29
Top 30
Misc 30
Block 30
Named Block 30
Attributes 30
Goto 30
Locate 30
Line-Drawing 30
Open Symbols 30
File Management 30
Overtype and Insert Typing Modes 30
Cursor Control 31
Deleting 31
Character 31
Table of Contents (cont)
Backspace 31
Word 31
To the End-of-Line 31
Line 31
UnDeleting 31
Character 31
Word 31
To the End-of-Line 31
Line 32
Inserting Ruler Lines 32
Formatting 32
Set Tabs 32
Set Word Wrap On 32
Set Word Wrap Off 32
Format 32
Justify 32
Unjustify 32
Center String 32
Pagenate 32
Convert Blanks to Spaces 33
Convert Soft EOL Symbols to Carriage Returns 33
Block Commands 33
Erase 33
Cut 33
Paste 33
Copy 33
Move 33
Column Cut 34
Capture 34
Column Paste 34
Column Move 34
Column Copy 34
Indent 34
Upper Case 34
Lower Case 34
Hot Print 34
Named Block Commands 35
Named Cut 35
Named Paste 35
Named Column Cut 35
Named Column Paste 35
Attributes 36
Standard Codes 36
User Defined Codes 36
Embedded Printer Codes 36
Goto 36
Line 37
Column 37
Page 37
Offset 37
Locate and Replace 37
Locate 37
Replace 37
Global Replace 37
Count 37
Table of Contents (cont)
Line Drawing 38
Drawing 38
Toggling the Pen 38
Using Graphics Symbols 38
Joining Lines 38
Matching Symbols 38
File Management 38
Insert File 38
Append File 38
Compare Two Files 38
Change Line Length of Non-Text Files 39
Strip Page Breaks from File 39
Strip Ruler Lines from File 39
Strip 8-Bit Characters from File 39
Insert at Intervals 39
Rebuild Line-Ending Index 39
Using Print Variables 39
Displaying ASCII Table 39
Changing Setup from Edit Mode 39
Creating and Executing Macros 39
Loading File from Editor 40
Split Screen Editing 40
Running Another Program 40
Shelling to DOS 40
Saving File 40
Quitting Edit Mode 40
Chapter 8: Printing 41
Print File 41
Enter Print Settings 41
Handshaking for Serial Printers 42
Chapter 10: Quiting 43
Chapter 11: Using the FC Program 44
Chapter 12: Using the KeyMap Program 45
Chapter 13: Using the PCodes Program 46
Chapter 14: Trouble Shooting 48
Table of Contents (cont)
APPENDIX A - Menu Tree 49
APPENDIX B - Menus 50
APPENDIX C - Keyboard Commands in Edit Mode 53
APPENDIX D - Function Key Assignments 56
APPENDIX E - Error Codes 57
APPENDIX F - Bug Report/Suggestion Form 59
APPENDIX G - Registration Form 60
Note: In this document, keystrokes are indicated by being enclosed in
<>. For example, <Return> refers to pressing the Return key, and <Ctrl
M> refers to the combination keystroke composed by holding the Ctrl
key down and pressing the M key.
Chapter 1: Introduction
GEdit is designed to operate on computers which are 100% compatible
with the IBM XT and AT.
Minimum requirements are:
256K RAM
1 floppy disk drive
DOS 2.1 or higher
The purpose of the program is to:
* Provide viewing, editing, and formatting of disk files
* Provide viewing and editing of disk sectors
* Provide viewing and editing of computer memory
* Provide creating, viewing and editing of dBASE file headers and
files, modifing and copying file structure, and importing dBASE
files as ASCII text files
* Print disk files
The GEdit Distribution Disk contains the files listed below:
GO.BAT - batch file to execute GEdit and load the README file
README - instructions on installation
HINSTALL.EXE - file to install GEdit on a hard disk
FINSTALL.EXE - file for creating a work disk
FEATURES - a discussion on the major features of GEdit
CR.SCR - copyright screen
ORDER.FRM - form for registering GEdit
BUG.RPT - form for reporting bugs and suggestions
GE.EXE - executable file
GE.HLP - general information on GEdit
MOUSE.HLP - help on using a mouse with GEdit
MENU.HLP - help file on the GEdit Menu
SETUP.HLP - help file on setup
EDITMENU.HLP - help file on the Main Edit Menu
EDIT.HLP - help file on edit commands
PRINT.HLP - help file on printing
EPSONFX.DRV - printer driver for the Epson FX-100 printer
HP-III.DRV - printer driver for the HP LaserJet III
KEYMAP.EXE - file for assigning keystrokes to commands
FC.EXE - file to split and recombine large files
PCODES.EXE - file to create and edit printer drivers
MANUAL.DOC - GEdit manual
PMANUAL.EXE - file to print manual
Chapter 1: Introduction (cont)
Major Features:
* Free cursor in Text File mode. Move the cursor anywhere outside
existing text and enter new text without having to backfill
* Unlimited line length (text files) or preset line length (non-
text files)
* Full mouse support
* Split screen editing
* Cut size limited only by available disk space
* Direct cutting and pasting between files
* Column block operations
* Line drawing
* Four editors, including:
Text Editor Text Files
Stream Editor Non-Text Files, Disk Sectors, and Memory
Hex Editor Non-Text Files, Disk Sectors, and Memory
dBASE Editor Headers, Files, and Files Imported as ASCII
Text Files
* Word processing features including word wrap and justification
* Search and replace using wildcards
* Auto-indenting
* Line drawing
* Extended character set
* Keystroke macros
* 43 line EGA and 50 line VGA display
* Popup ASCII table
* Unloads from memory when executing program or shelling to DOS
* On-line help
* Journaling of edit session
* Mapping of keys to commands
Program Limitations:
* Maximum file size - available memory
* Maximum line length - available memory
* Maximum number of lines - 10,000
* Maximum Number of open files - 2
* Character set - ASCII plus IBM ASCII Extended
* Maximum number of keystroke macros - 50
* Maximum number of tabs - 100
* Size of cut - limited only by available disk space
* Length of undo buffer for delete word - 50
* Length of undo buffer for delete to end of line - 150
* Length of undo buffer for delete line - 255
Chapter 1: Introduction (cont)
Editing: GEdit contains four special purpose editors - a Text File
Editor, a Stream Editor, a Hex Editor, and a dBASE Editor. These edi-
tors are discussed below:
Text File Editor - The Text File Editor follows the standard con-
ventions that have been established for ASCII text files. Use the
Text File Editor for word processing and writing source code and
batch files.
Stream Editor - The Stream Editor edits non-text files, disk sec-
tors, and computer memory. The lines displayed on the screen are
fixed length and all 256 characters of the standard and extended
character sets are used.
Non-text files are usually not accessible to word processors
or text editors. This type file is displayed in a fixed line
length format. The line length can be specified in Setup, and
can be changed after the file is loaded. Use the non-text file
type for creating and editing data files and viewing and edit-
ing program files.
Disk Sectors can be loaded into the Stream Editor and treated
as a non-text file or as disk sectors. The number of sectors
which can be loaded is dependent on available memory. Material
read directly from a disk can be edited and saved to a disk as
a file (useful for recovering files from a disk on which the
FAT has been corrupted) if the sectors were loaded as a file.
Or if the sectors were loaded as sectors, they can be edited
and written back to the disk as sectors.
Computer memory can be displayed and edited using the Stream
Editor. One segment (64K) is accessible, beginning at the ad-
dress specified. The display of memory is in real time, mean-
ing that changes in memory can be observed as they occur. For
example, load memory segment 0 and observe the changes which
continually occur at offset 1132. Any change made to the dis-
play is a change in actual memory and can be dangerous. Be
aware of the consequences before making any changes.
Hex Editor - The Hex Editor edits non-text files, disk sectors and
computer memory and uses the same set of commands as the Stream
Editor. The hex representation (16 bytes) is displayed on the left
side of the screen with the corresponding characters displayed on
the right side. All editing is performed on the hex display.
dBASE Editor - The dBASE Editor edits dBASE data file headers and
dBASE data files (useful for restoring corrupted files and for di-
rectly editing dBASE data), creates new dBASE files, and modifies
and copies dBASE file structures. It will also import dBASE files
as ASCII text files.
Note: To use GEdit as your dBASE editor (called by the MODIFY COM-
MAND command) modify the config.db file to include the lines be-
low:
TEDIT=GE
WP=GE
Chapter 1: Introduction (cont)
Shell to DOS: You can shell to DOS while editing. GEdit and the edit
buffer are unloaded from memory when shelling to DOS. This provides
the free memory, minus approximately 12K, that would be available if
GEdit was not loaded. Enter "EXIT" at the DOS prompt to return to
GEdit.
Run Another Program: You can run another program while editing. This
feature is useful for compiling a program while editing source code.
GEdit and the edit buffer are unloaded from memory while running an-
other program, providing the free memory to execute any compiler. Only
5K is retained for use by GEdit.
Redo Edit Session: If journaling is specified in Setup, GEdit automat-
ically creates a backup when a file is loaded for editing, and all
keystrokes made during the edit session are recorded in a journal
file. If for any reason (such as a mistake in editing, failure to save
a file, or a power outage) you have lost work, you can replay the edit
session by choosing this option from the System Menu and stop the re-
play at any point you wish.
Setup: You can create up to 10 setup configurations which can be saved
to disk and recalled to suit the type of editing that you require, or
the current setup can be altered to suit your needs. Word wrap, screen
colors, auto-indent, tabs, cursor size, and many other features can be
selected to customize the editors.
Help: Online help is available from the Main Menu on:
Overview of GEdit
Mouse
Main Menu
Setup
Editing
Printing
Help on edit commands is also available while editing.
Print Files: GEdit will print any disk file. A file can be printed as
a text file or as a non-text file with fixed-length lines. Print set-
tings (such as pitch, lines per inch, margins, pages to print, number
of copies, printer driver, and printer interface) can be specified and
saved to a disk file for use later. Any number of printer drivers can
be created by using the program PCODES.EXE (see Chapter 13) which can
be found on the work disk or in the support directory after installat-
ion.
Chapter 2: Registering
Some very fine software is marketed though the shareware process.
This is usually done because the author does not have the re-
sources to market the product in the traditional manner or because
he is attracted to the simplicity of the marketing technique.
Releasing a software product as shareware allows an user to try it
without obligation and to pass copies of it to friends or acquant-
ices for their review. If the user determines that the software is
useful to him and intends to continue to use it, he is then obli-
gated to register his copy of the software.
The advantages of this marketing approach to the user are (1) he
has the opportunity to use the product and, based on his evaluat-
ion, determine if he wants to register the product, and (2) he can
register the product for less than purchasing a comparable retail
product.
The advantage to the author is that he has the opportunity to mar-
ket his product in a less costly and complicated manner than would
be possible otherwise.
GEdit is being distributed as shareware. Non-registered users can
use it during a 30-day trial period to determine if they find it
useful and want to continue to use it. If the user does continue
to use GEdit after the 30-day trial period it must be registered.
Upon registration you will be sent the latest version of GEdit and
you will receive updates for one year from the registration date.
As a registered user you are entitled to use GEdit on any and all
computers available to you as long as the software is installed
and used on only one computer at a time.
To register GEdit, you can submit the registration form found in
Appendix I of this manual with the correct amount of money in the
form of a check or money order to the address listed, or you can
register using your MC, Visa, AmEx, or Discovery card by calling
Public (software) Library at 800-242-4PsL (from overseas: 713-524-
6394) or by FAX to 713-524-6398 or by Compuserve to 71355,470.
Specify item number 10569.
The numbers listed above are for ordering only. Cat Creek Enter-
prises, Inc. can NOT be reached at those numbers. To contact Cat
Creek Enterprises, Inc. for information about dealer pricing, vol-
ume discounts, site licensing, the status of shipment of the pro-
duct, the latest version number or for technical information, or
to discuss returns, write to Cat Creek Enterprises, Inc. at P. O.
Box 606, Bristol, TN 37621.
The registration form can also be found in the file "ORDER.FRM",
found on the distribution disk. This file can be printed by using
GEdit's print utility.
No registration fee is required for the use of GEdit for educat-
ional purposes by educational institutions. However, if you are
using GEdit for this purpose, it must be registered by filling out
the registration form, checking the box indicating that GEdit is
to be used for educational purposes, and mailing the form to the
address listed.
Chapter 2: Registering (cont)
You are encouraged to copy GEdit for the purpose of distribution
under the following conditions:
1. No files on the Distribution Disk have been modified or de-
leted.
2. The fee to cover copy service, handling, and materials does
not exceed $10.00.
GEdit is provided "as is" without warranty of any kind, either
expressed or implied. In no event will Cat Creek Enterprises be
liable for any damage caused by the use of GEdit. The risk of us-
ing this product lies with the user.
Chapter 3: Installing
Floppy Disk System:
Step 1: Format a new disk to use as a work disk.
Step 2: Place the Distribution Disk in Drive A: and the blank disk
in Drive B:, and at the A> prompt enter "FINSTALL". FINSTALL will
copy the files listed below from the Distribution Disk onto the
blank disk:
GE.EXE BUG.RPT CR.SCR ORDER.FRM
GE.HLP MOUSE.HLP MENU.HLP SETUP.HLP
EDITMENU.HLP EDIT.HLP PRINT.HLP EPSONFX.DRV
HP-III.DRV KEYMAP.EXE FC.EXE PCODES.EXE
Step 3: Label the disk in drive B: as "GEdit Work Disk".
Step 4: Place the Distribution Disk in drive A:, make sure the
printer is ready, and at the A> prompt enter "PMANUAL". PManual
will print the manual beginning at the page you specify.
Step 5: Store the Distribution Disk in a safe place.
Hard Disk System:
Step 1: Place the Distribution Disk in the A: Drive, and at the A>
prompt enter "HINSTALL".
Step 2: Specify the directory on the hard disk where you want to
locate the program files. If the directory does not exist it will
be created. The files listed below will be copied from the Distri-
bution Disk into this directory.
GE.EXE BUG.RPT
ORDER.FRM KEYMAP.EXE
FC.EXE PCODES.EXE
Step 3: Specify the directory on the hard disk where you want to
locate the support files. If the directory does not exist it will
be created. The files listed below will be copied from the Distri-
bution Disk into this directory:
GE.HLP MOUSE.HLP
MENU.HLP SETUP.HLP
EDITMENU.HLP EDIT.HLP
PRINT.HLP EPSONFX.DRV
HP-III.DRV CR.SCR
Chapter 3: Installing (Hard Disk System cont)
Step 4: Modify the AUTOEXEC.BAT file in the root directory of the
hard disk to include the statement "PATH=C:\GE" (see DOS manual)
or the directory you specified. This will ensure that DOS can find
GE.EXE even if the default directory is not the directory in which
GE.EXE is located.
Step 5: Modify the AUTOEXEC.BAT file to include the statement
"SET SUPPORT=C:\GE\SUPPORT" or the directory you specified. This
will ensure that GEdit can find its support files.
Step 6: Place the Distribution Disk in drive A:, make sure the
printer is ready, and at the A> prompt enter "PMANUAL". PManual
will print the manual beginning at the page you specify.
Step 7: Store the Distribution Disk in a safe place.
Chapter 4: Getting Started
Starting GEdit
The instructions presented here assume that you have already installed
GEdit (see Chapter 3).
Floppy Disk
Step 1: Insert the GEdit work disk in drive A:
Step 2: Insert the disk that contains the file you wish to
edit, or the disk on which you wish to create a file, in drive
B:.
Step 3: At the A> prompt enter "GE". Or if you wish to use
the file settings which have been saved in setup file "0", you
can enter "GE", followed by a space, and then the name of the
file you wish to edit. If you do pass a file name to GEdit,
all menus will be bypassed, the file loaded for editing, and
you will be taken directly into the Text File Editor.
Hard Disk
Step 1: If you have not included the path, to the directory in
which GEDIT.EXE is located, in the autoexec.bat file on the
boot disk, you must change directory (see DOS manual) to the
directory in which GE.EXE is located.
Step 2: At the DOS prompt enter "GE". Or if you wish to use
the file settings which have been saved in setup file "0", you
can enter "GE", followed by a space, and then the name of the
file you wish to edit. If you do pass a file name to GEdit all
menus will be bypassed, the file loaded for editing, and you
will be taken directly into the Text File Editor.
Using Menus
To select an option from a menu, use <Up-Arrow> and <Down-Arrow> to
move the menu bar to the option you wish to select and press <Return>.
Or press the function key associated with the option on the menu.
Chapter 4: Getting Started (cont)
Main Menu
The Main Menu (see Appendix B) is displayed when GEdit is started. The
options available on that menu are explained below:
Edit
Displays the Edit Menu. From the Edit Menu you can edit files,
disk sectors, and memory in either ASCII or Hex format, and
edit dBASE files.
System
Displays the System Menu. From the System Menu you can:
Quit: Leave GEdit and return to DOS, even if files are open.
Return to Editor: If files are open, returns to the currently
active window.
Shell to DOS: GEdit and the edit buffer are unloaded from mem-
ory when shelling to DOS. This provides the free memory, minus
approximately 12K, that would be available if GEdit was not
loaded. Enter "EXIT" at the DOS prompt to return to GEdit.
Run Another Program: Enter a command line to execute another
program. GEdit and the edit buffer are unloaded from memory
while running another program. This provides the free memory,
minus approximately 5K, that would be available if GEdit was
not loaded.
ReCombine File: Recombines files that have been split into
smaller files (see "Editing Large Files" in Chapter 7 and
Chapter 11: Using the FC Program). After making changes to the
files created from the larger file, choose this option to join
the files, replacing the original file (this can also be done
from the FC program).
Redo Edit Session: Replays an edit session that has been re-
corded in a journal file. An edit session is recorded whenever
a file is edited and journaling is on (see Chapter 6). A back-
up of the file being edited is made at the beginning of the
session and of every other file loaded during the session, and
each keystroke is recorded until no files are open. Choose
this option if for some reason you lose the file you were ed-
iting or you made some sort of unrecoverable error. Select
the type of file from the Type Menu, enter the file name, and
choose "automatic" or "step-though" playback. Automatic play-
back will proceed though the session automatically, while the
step-though playback executes a single recorded keystroke each
time you press a key. You can stop the playback at any point
by pressing <Esc>.
Copyright Screen: Displays the GEdit copyright screen, showing
the copyright notice and information concerning registration.
Chapter 4: Getting Started (Main Menu cont)
Setup
Displays the Setup Menu. From this menu you can enter and save
configuration data in memory and in up to 10 disk files. Use setup
to customize GEdit to your particular needs.
Help
Displays the Help Menu. From the Help Menu you can display help
screens on:
GEdit (an overview of GEdit)
Mouse
Main Menu
Setup
Editing
Printing
Print
Displays the Print Menu. "Print" will accept and save print set-
tings and print disk files.
Escape
If files are open, pressing <Esc> has the same effect as choosing
"Return to Editor" from the System Menu. If no files are open,
pressing <Esc> has the same effect as choosing "Quit" from the
System Menu.
Using a Mouse
While in menus, use the mouse to move the menu bar just as you would
with the cursor control keys. The bar will move in the direction the
mouse is moved. The left button performs as the <Enter> key and the
middle button (if you have one) performs as the as the <Esc> key.
While in data entry screens (i.e. the Edit Setup Screen) use the mouse
to move the cursor just as you would with the cursor control keys. The
left button performs as the <Enter> key, and the middle button (if you
have one) performs as the <Esc> key.
While editing, a mouse cursor is displayed on the screen along with
the key cursor. The key cursor blinks and the mouse cursor remains
solid. The mouse cursor can be moved to any position on the screen by
moving the mouse. To move the key cursor to the mouse cursor press the
the right button. Moving the mouse cursor to the any edge of the edit
screen and pressing the right button scrolls the screen as if you were
holding down a cursor control key.
Chapter 4: Getting Started (Using a Mouse cont)
The Mouse Menu is displayed at the top of the edit screen. This menu
lists the commands executed by function keys 1 though 10 along with
the respective function key number. Also displayed on the menu are
arrows which represent Screen-Shift Left, Screen-Shift Right, Page Up,
and Page Down. The ? at the end of the menu represents Help. To exe-
cute any of these commands, place the mouse cursor on the command and
press the left button.
Chapter 5: Getting Help
The "Help" option on the Main Menu displays a menu (see Appendix
B) which allows you to select help on:
GEdit (an overview of GEdit)
Mouse
Main Menu
Setup
Editing
Printing
Help screens on edit commands can be displayed, while editing, by
choosing "Help on Editing" from the Misc Menu or pressing <Alt H>.
Chapter 6: Setting Up
To setup GEdit, choose "Setup" from the Main Menu. The Setup Menu (see
Appendix B) will be displayed.
To specify the way in which you want files to be handled by the edi-
tors, choose "File Settings" from the Setup Menu.
Word Wrap - if on, lines will automatically wrap at a specified
length when using the Text File Editor. This feature is used while
word processing. The default setting is "N". Soft end-of-line
characters are saved with the file for printing purposes. However,
the soft end-of-line characters are stripped from the file when it
loaded for editing, and the lines wrapped as specified in the set-
up.
Line Length for Text Files - the line length at which word wrap
occurs. The maximum line length is the number of bytes in the buf-
fer. The default setting is 64 characters.
Line Length for Non-Text Files - the line length at which lines
are wrapped when editing a non-text file using the Stream Editor.
This would usually be the screen width unless you are editing a
data file, in which case, the record length should be specified.
The maximum line length is the number of bytes in the buffer. The
default setting is 80 characters.
Default Extension - an extension to be added to any file name you
enter without an extension. For example, you may specify "BAS" if
you commonly edit Basic source code. To prevent the extension from
being added to a file name without an extension, add a period to
the end of the file name. Up to 3 characters can be entered.
Automatic Backup - If you wish to have each file you edit automat-
ically copied to a backup file before you begin editing, specify
"Y". The default setting is "N". Imported dBASE files will not be
backed up.
Journaling - You can choose to record your edit sessions for play-
back. Playing back an edit session can be entertaining, or can be
very useful if you make an irreversible mistake while editing. The
playback can be stopped at any point, and editing resumed. The de-
fault setting is "N".
Expand Tabs in Text Files - If you wish to have tab symbols in
text files replaced by a string of eight spaces, enter "Y". The
default is "Y".
EOF Marker - If you wish to have GEdit append an EOF marker (ASCII
26) when it saves a file, enter 'Y'. The default is 'Y".
Chapter 6: Setting Up (cont)
To specify the settings that will be in effect while in the edit mode,
choose "Edit Settings" from the Setup Menu. Edit settings can also be
changed while in the edit mode by choosing "Set Edit Settings" from
the Misc Menu or pressing <Alt E>.
Typing Mode - If you wish to begin your edit sessions in overtype
mode, enter "O", or enter "I" if you prefer the insert mode. The
default setting is "O".
Typematic Speed - This setting refers to the speed at which a key-
stroke is repeated when a key is held down, and primarily effects
the rate of cursor control. If you increase typematic speed, the
time to page down from the beginning of a document to the end of
the document is decreased, however, the higher speed may adversely
affect your typing. Experiment to find the most suitable speed for
your typing style. You can select from a speed range of 0 to 10,
with 10 the fastest. The default setting is 7.
Auto-Indent - This feature is particularly useful if you are writ-
ing source code. Auto-indent will automatically indent a new line
to the same column to which the previous line is indented. The de-
fault setting is "Y".
Columns in Indent: You can specify the number of columns a line
will be shifted when indented. The default setting is 8.
Tab Positions - You can specify up to 10 tab positions to use in
text files. The tabs can be entered in any order. If you need more
than 10 tabs you can enter up to 100 in the editor ruler line. The
default setting is 10 tabs in 8-column increments.
Columns in Screen Shift - You can specify the number of columns to
shift the screen to the right when <Shift F2> is pressed or to the
left when <Shift F1> is pressed while editing a text file. The de-
fault setting is 20.
Display Column or File Position - If you wish the status line on
the edit screen to display the current column on which the cursor
is located, enter "C". If you wish to have the offset from the be-
ginning of the file displayed, enter "F". The default setting is
"C".
Function Key Assignments - Function keys are assigned to perform 1
of 3 sets of functions. If you wish to use the function keys as
command keys, enter "C". If you wish to use the function keys for
graphics characters, enter "G". If you wish to use the function
keys for math symbols, enter "M". See Appendix D for a complete
explanation of function key assignments. The default setting is
"C".
Chapter 6: Setting Up (Edit Settings cont)
Cursor Size - Choose a cursor size from a dash to a full block by
entering a number in the range from 1 to 12 for monochrome and 1
to 7 for color. 1 is the largest and is the default setting.
Display End-of-Line Symbols - If you wish to have carriage returns
in text files displayed by a symbol, enter "Y". The default set-
ting is "Y".
Display Spaces as Dots - If you wish to have spaces in text files
represented by dots, enter "Y". The default setting is "N".
Display Non-Text Symbols as Dots - If you wish to have control and
8-bit characters represented on the screen by dots, enter "Y", or
if you wish to have these characters displayed, enter "N". The de-
fault setting is "N".
Produce Matching Symbols - If you wish to have the symbols [, {,
(, ', and " respectively matched by ], }, ), ', and ", enter "Y".
Insert mode must be on for this feature to be active. This feature
is particularly useful when writing source code. The default set-
ing is "N".
Number of Lines to Display - You can choose the number of lines
you wish to have displayed on the edit screen. The default setting
is 21 lines, which is normal for a screen that displays 25 lines.
If you are using a screen that does not display 25 lines this set-
ting can be changed to match the screen size. This setting can al-
so be used to push the bottom information line off a normal screen
by entering 22.
Number of Columns to Display - You can choose the number of col-
mns you wish to have displayed on the screen. The normal number of
columns is 80, which is the default setting. If you are using an
odd size screen, less than or greater than 80 columns, change this
setting to match the screen width.
Number of Columns in Screen Width - This setting must be set to
correspond to the actual number of columns that is displayed by
your monitor. If this setting is not correct, the editor will not
work properly. The normal number of columns is 80, which is the
default setting. If you are using an odd size screen, less than or
greater than 80 columns, you should change this setting to match
the screen width.
EGA 43/VGA 50 Line Mode - If you are using an EGA or VGA monitor
and wish to display additional lines on the screen. An EGA monitor
will display 43 lines (39 lines of edit screen) and a VGA monitor
will display 50 lines (46 lines of edit screen).
Force Monochrome Mode - "Y" forces all screen displays into mono-
chrome. When using a LCD screen, menu bars or other items on the
screen may not display properly. Forcing the monochrome mode makes
these items visible.
Chapter 6: Setting Up (cont)
To specify screen colors choose "Screen Settings" from the Setup Menu.
The current colors will be listed on the screen. To choose another
color, move the light bar to the item that you wish to change and
press <Return>. A color selection screen will be displayed and the bar
on the screen will display the color combination that would be in ef-
fect if that option is selected. Screen colors can also be changed
while in the edit mode by choosing "Set Screen Colors" from the Misc
Menu or pressing <Alt V>.
Foreground Color - You can choose a color for characters displayed
on the edit screen from a total of 16 colors.
Background Color - You can choose a background color for the edit
screen from a total of 8 colors.
Menu Foreground Color - You can choose a color for characters dis-
played on menus from a total of 16 colors.
Menu Background Color - You can choose a background color for men-
us from a total of 8 colors.
Menu Bar Foreground Color - You can choose a foreground color for
menu bars from a total of 16 colors.
Menu Bar Background Color - You can choose a background color for
menu bars from a total of 8 colors.
Save Settings - You can save the current settings to a disk file to be
used later. For example, settings file "0" could be used for word pro-
cessing, settings file "1" used for editing dBASE files, and settings
file "2" used for writing source code. Settings files can be numbered
from 0 to 9. Settings file "0" is read automatically when GEdit is
started.
Choose Settings - You can recall settings that have been previously
saved by entering the number of the settings file (0 - 9).
Chapter 7: Editing
Types of Editing:
Create, display, and edit source code: Use the Text File Editor to
create and edit source code. Features that facilitate the creation
of source code include automatic indenting, creating matching sym-
bols, checking for open symbols, and running compilers while edit-
ing.
Word processing: GEdit includes a set of word processing features,
including ruler lines, word wrapping, justifying, tabs, jump to
stop, and keystroke macros. Use the Text File Editor to prepare
letters, memos, and documents.
Create, display, and edit DOS batch files: Use the Text File Edi-
or to create and edit DOS batch files.
Line drawing: The Text File Editor can be used for line drawing.
This feature is excellent for creating forms and organization
charts. Single and double lines can be mixed, and all lines can be
joined automatically.
Display and edit non-text files: You can display any disk file by
choosing the Stream Editor. Non-text Files are displayed in fixed
length lines (80 columns, unless you specify a different length)
using all ASCII and Extended ASCII characters.
Create, display, and edit data files: The Stream Editor can be
used to edit data files. Select non-text file and set the line
length to the record length. Ruler lines can be embeded anywhere
in the file to ensure accurate data entry.
Use the Hex Editor for editing files, disk sectors, and memory in
hex format.
Edit dBASE files: Create new dBASE files, modify a file's struct-
ure, copy a file's structure to another file, directly enter data
into dBASE files, recover dBASE files which have shifted data or
include an embedded end-of-file character, and import dBASE data
as an ASCII text file.
Special purpose editing: Edit disk sectors (useful for recovering
files from disks with a damaged FAT), and edit computer memory.
Chapter 7: Editing (cont)
Compiling from editor: To compile and link a Clipper program call-
ed TEST, I first create a batch file named C.BAT as follows:
C:\CLIPPER5\BIN\CLIPPER TEST
IF ERRORLEVEL 1 GOTO END
C:\CLIPPER5\BIN\RTLINK FILE TEST;
IF ERRORLEVEL 1 GOTO END
TEST
:END
The next step is to load TEST.PRG into GEdit and create a marco as
follows:
<Ctrl R>
<C>
<Enter> - begin recording macro C
<F2>
<Enter> - save the file
<Ctrl E>
<C>
<Enter> - execute the file C.BAT
<Enter> - return to editor after executing C.BAT
<Ctrl R> - stop recording macro
Anytime I am ready to compile, link, and run the program, I press
the following keystrokes:
<Ctrl M>
<C>
<Enter>
If an error occurs during compiling, processing is returned to the
editor, and if an error occurs during linking, processing is re-
turned to the editor. Otherwise, the program is executed and when
it is terminated, processing is returned to the editor. During the
process of running a compiler, GEdit unloads itself from memory,
providing more memory in which to run the compiler.
Chapter 7: Editing (cont)
Edit Menu
The "Edit" option on the Main Menu displays the Edit Menu (see Appen-
dix B). You can select from the following special purpose editors from
the Edit Menu:
Text File Editor: Choose the Text File Editor for editing ASCII
text files, such as source code, batch files, and word processing
document files.
Stream Editor:
Non-text Files: Lets you edit non-text files. This type file
is displayed in a fixed-line-length format. The line length
can be specified in Setup, and can be changed after the file
is loaded.
Edit Disk Sectors: Lets you directly edit disk sectors. The
sectors that are loaded into memory may be treated as a non-
text file or as disk sectors. If treated as a non-text file,
they can be saved back to a disk as a file - this feature is
useful for recovering files from a disk with a damaged FAT. If
the sectors are treated as sectors they may be written back to
the disk as sectors after editing. The number of sectors that
can be loaded is determined by available memory. If you are
accessing a hard disk, you must choose the partition which
corresponds to the logical drive you wish to read.
Edit Memory: Lets you view and edit computer memory. A segment
(64K) can be edited beginning at the address you specify. Mem-
ory is displayed in real time, meaning that you can observe
the changes in memory as they occur.
Hex Editor: Lets you edit files, disk sectors, or a memory segment
in hex format. The hex representation (16 bytes) is displayed on
the left side of the screen with the corresponding ASCII charac-
ters shown on the right side. All editing is performed on the hex
display, and the command set is the same as for the Stream Editor.
dBASE Editor:
Create New File: lets you create a new dBASE file with the
structure you specify.
Modify Structure: Lets you correct any problem with a file's
header - such as the number of records in the file, or change
a field's name, type, length, or decimal place, or insert or
append a field.
Copy Structure: Lets you copy the structure of an existing
file to a new file.
Edit File: Lets you directly edit an existing dBASE data file.
Change or enter data, or correct problems in the file, such as
shifted data or embedded end-of-file characters. dBASE files
are treated as non-text files.
Import File: Lets you import a dBASE data file in ASCII text
file format.
Chapter 7: Editing (cont)
Editing Large Files: The size of the file that can be edited depends
on available memory. If a file is too large to be fully loaded into
memory, you will be given the options of spliting the file into smal-
ler files for editing, loading a portion of the file for editing, or
returning to the Main Menu.
If you choose to split the file, the original file is left unaltered,
and smaller files of the size you specify, are created from this orig-
inal file with the extensions "1", "2", "3", etc. The first file (with
the extension "1") will be loaded for editing. After editing, these
files may be recombined by choosing "ReCombine File" from the System
Menu, or by running the FC program.
If you choose to load a portion of the file, you will be asked to
specify the number of bytes to skip before beginning to load the file.
the file will be loaded, beginning at the offset you specified, until
the end-of-file is reached or memory is full. The portion of the file
that is loaded will be given the same name as the original, but with
an extension of "PRT".
Methods for entering a file name: You can enter a name of an existing
file for editing, or enter the name of a file to be created. If the
file does not exist, no disk file will be created until the file is
saved. If you have specified a default extension in Setup, and you do
not add an extension to the file name, the default extension will be
added. To prevent the extension from being added, end the file name
with a period. The ways in which you can enter a file name are listed
below:
Pass the file name to GEdit as a parameter: When you execute GEdit
by entering "GE" at the DOS prompt, add a space and the file name
(i.e. C>GE C:\LETTERS\SOME.TXT). The file will be loaded in the
Text Editor. A file should be created or loaded in this manner
only if the file is a text file and the settings in the settings
file "0" are appropriate.
Type the file name at the file name prompt: Type in the file name,
including the path, and press <Return>.
Select from directory: Press <Return> at the file name prompt if
you wish to select a file from a disk directory. Enter the mask
(i.e. C:\LETTERS\*.* for all files in the LETTERS directory on the
C: drive) for the directory you want displayed. Directory entries
include hidden files and are arranged in alphabetical order. Move
the light bar to the file you wish to edit and press <Return>.
Select from history: Below the file name prompt, is listed the
names of the files which have been edited during the current ses-
sion, with the name of the last file edited on top. To edit one of
the files listed in history, use <Down-Arrow> to move the light
bar to the file you wish to edit and press <Return>. The display
and the cursor position will be same as when the file was exited.
Chapter 7: Editing (cont)
Status Line
The Status Line at the top of the edit screen displays information
about the edit buffer and the file being edited. Below is listed
the information to be found on the status line and the position on
the line where the information is displayed:
Current line 6
Offset in memory segment 9
Offset in file or the current column 21
Lines in file 29
Caps Lock ("Caps" if on) 50
Recording or executing macro ("R" for record, "M" for execute) 55
Drawing mode ("S" for single line, "D" for double line) 57
Pen up/down (Up-Arrow for pen up, Down-Arrow for pen down) 58
Word wrap ("W" if on) 60
Function keys assignment ("C"/commands, "G"/graphics, "M"/math) 62
Insert/overtype mode ("I" for insert, "O" for overtype) 64
Memory (in bytes) remaining in edit buffer 74
Ruler Line
The Ruler Line below the Status line indicates tab positions, and
can be used for defining tab positions by choosing "Set Tab Posit-
ions" from the Format Menu.
Bottom Information line
The Bottom Information Line displays the type file being edited,
if journaling is off or on, and the name of the file being edited.
Entering Non-Key Characters
Many characters in the IBM character set are not represented by a
key on the keyboard. To enter these characters, hold <Alt> down
while you type in the ACSII code for the character using the keys
in the numeric keypad. When you release <Alt> the character will
appear on the screen.
Edit Commands
Edit commands can be accessed though keystroke combinations or
selected from menus. Many commands can be accessed in both ways,
however, some are accessible only by keystrokes and others only
though menus. The keystrokes specified in this section for execut-
ing commands are default keystrokes. Keystroke assignments can be
changed by using the program KeyMap (see Chapter 12). Listed below
are the menus available from the edit mode:
GEdit Main Menu: You can leave the edit mode and return to the
Main Menu by pressing <Alt W>. If you choose to use an editor
you will be returned to the edit mode with the screen split on
the line on which the cursor was located. To return to the
edit mode from the Main Menu without selecting another editor,
press <Esc> or choose "Return to Editor" from the System Menu.
Chapter 7: Editing (Edit Commands cont)
Top Menu: This menu can be accessed by pressing <Alt T> or by
pressing <F1> (if function keys = commands). The Misc, Format,
Block, Named Block, Attributes, Goto, Locate, Draw, Open Sym-
bols, and File Management Menus are accessable from the Top
Menu.
Misc Menu: This menu is accessible from the Top Menu or by
pressing <Alt U>. It provides several miscellaneous options,
including help
Format Menu: This menu is accessible from the Top Menu or by
pressing <Alt F>. It provides options for formatting text,
including word wrapping and justifying.
Block Menu: This menu is accessible from the Top Menu or by
pressing <Alt B>. It provides options for performing block
operations.
Named Block Menu: This menu is accessible from the Top Menu or
by pressing <Alt N>. It provides options for performing block
operations that involve saving and retrieving files with user-
specified names.
Attributes Menu: This menu is accessible from the Top Menu or
by pressing <Alt A>. It provides options for marking text at-
tributes for printing, such as bolding, underlining, and ital-
ics.
Goto Menu: This menu is accessible from the Top Menu or by
pressing <Alt G>. It provides options for going to a particu-
lar line, column, or page.
Locate Menu: This menu is accessible from the Top Menu or by
pressing <Alt L>. It provides options for locating, replacing,
and counting strings.
Line-Drawing Menu: This menu is accessible from the Top Menu
or by pressing <Alt D>. It provides the options of entering
the single-line or double-line drawing modes, drawing with a
special character, and joining the lines in the file. Single
and double lines can be mixed and joined.
Open Symbols Menu: This menu is accessible from the Top Menu
or by pressing <Alt O>. It provides options for checking the
file for unmatched parenthesis, braces, and brackets when
writing source code.
File Management Menu: This menu is accessible from the Top
Menu or by pressing <Alt M>. Many varied options are available
from this menu.
Overtype and insert typing modes: <Ins> will toggle the typing
mode between overtype and insert. An "I" on the Status Line indi-
cates that the insert mode is active and an "O" indicates that the
overtype mode is active.
Chapter 7: Editing (Edit Commands cont)
Cursor control: The following keystroke combinations move the cur-
sor around the edit buffer.
Left-Arrow Go left one column
Right-Arrow Go right one Column
Up-Arrow Go up one line
Down-Arrow Go down one line
Home Goto beginning of line
End Goto end of line
Ctrl Left-Arrow Previous Word
Ctrl Right-Arrow Next Word
Shift F1 Screen-shift left
Shift F2 Screen-shift right
PgUp Go up one screen
PgDn Go down one screen
Ctrl PgUp Goto top of screen
Ctrl PgDn Goto bottom of screen
Ctrl Home Goto beginning of file
Ctrl End Goto end of file
Tab Jump to next tab
Shift Tab Jump to previous tab
An additional cursor control command which can be used in text
files is jump to stop. <Ctrl N> will move the cursor to the next
">" occurring in the file. This feature can be useful in forms and
form letters.
Deleting: The following commands delete units of text. For delet-
ing blocks of text see "Erase" under Block Commands.
Character: To delete a character, place the cursor on the
character and press <Del>.
Backspace: To delete the character to the left of the cursor,
press <Backspace>.
Word: to delete a word, place the cursor at the beginning of
the word and press <Alt K>.
To the end-of-line: To delete from the cursor to the end of
the line press <Alt Y>.
Line: To delete a line, place the cursor anywhere on the line
and press <Alt X>.
UnDeleting: These commands undo delete operations.
Character: To undo the last character deletion, press <Ctrl
D>.
Word: To undo the last word deletion, press <Ctrl K>. The buf-
fer for this operation is 50 characters.
To the end-of-line: To undo the last to the end-of-line delet-
ion, press <Ctrl Y>. The buffer for this operation is 150
characters.
Chapter 7: Editing (Edit Commands cont)
Line: To undo the last line deletion, press <Ctrl X>. The buf-
fer for this operation is 255 characters
Inserting ruler lines: To insert a ruler line at the cursor locat-
ion, press <Alt R>. Embedded ruler lines can be useful as a guide
when editing a data file.
Formatting: Commands to format text are discussed below. These op-
erations are used primarily in word processing. (The format Menu
is accessed by choosing "Form" from the Top Menu or pressing <Alt
F>.)
Set Tabs: Choose "Set Tabs" from the Format Menu. Use the cur-
sor control keys to move the cursor on the Ruler Line. To
place a tab position on the Ruler Line, move the cursor to the
position and press <Tab>. To remove a tab position, move the
cursor to the position and press <Del>. When finished, press
<Return>.
Set Word Wrap: To set word wrap on, choose "Word Wrap On" from
the Format Menu and enter the line length for wrap. All exist-
ing text will be reformatted and word wrap activated. Soft
end-of-line characters are saved with the file for printing
purposes, however, the soft characters are stripped from the
file when it loaded for editing and the lines wrapped as spec-
ified in the setup.
Set Word Wrap Off: To set word wrap off choose "Word Wrap Off"
from the Format Menu. All soft carriage returns will be remov-
ed, the existing text reformated, and word wrap inactivated.
ReWrap: To correct the length of lines, after operations which
alter the length by removing characters, place the cursor on
the line at the beginning of the block, press <Ctrl A> or
choose "Rewrap" from the Format Menu, move the cursor to high-
light the block to be formatted, and press <Return>.
Justify: To justify a block of text, place the cursor on the
line at the beginning or end of the block, press <Alt J> or
choose "Justify" from the Format Menu, move the cursor to
high-light the block to be justified, and press <Return>.
UnJustify: To unjustify a block of text, place the cursor on
the line at the beginning or end of the block, press <Ctrl U>
or choose "UnJustify" from the Format Menu, move the cursor to
high-light the block to be unjustified, and press <Return>.
Center String: To center a string (all text on a line) place
the cursor on the line in which the the string is located and
press <Alt C> or choose "Center String" from the format Menu.
Pagenate: To pagenate a document, choose "Pagenate" from the
Format Menu and enter the page length. A page break will be
inserted at intervals equal to the page length that you speci-
fied.
Chapter 7: Editing (Edit Commands cont)
Convert Blanks to Spaces: Blanks (ASCII code 255) are used by
GEdit for justifying in order that these operations can be re-
versed. Blanks appear as spaces on the screen but might not be
printed. GEdit will convert the blanks to spaces as it prints
the file. However, if the file is printed using another pro-
gram, formatting may be lost. If you intend to edit or print
the file using another program, choose "Convert Blanks" from
the Format Menu.
Convert Soft EOL Characters: If you have created a text file
using word wrap and want to convert the soft end-of-line char-
acters to carriage returns (usually for the purpose of editing
by another program) choose "Convert EOL" from the Format Menu.
Block Commands: Operations on blocks and columns of text are dis-
cussed below. (The Block Menu is accessed by choosing "Bloc" from
the Top Menu or pressing <Alt B>.)
Erase: To erase a block of text, place the cursor at the be-
ginning or the end of the block, press <F6> (if function keys
= commands) or choose "Erase" from the Block Menu, high-light
the block to be erased, and press <Return>.
Cut: To cut a block of text, place the cursor at the beginning
or the end of the block, press <F7> (if function keys = com-
mands) or choose "Cut" from the Block Menu, high-light the
block to be cut and press <Return>. The block that is cut is
stored in a cut file and can be pasted anywhere in the current
file or any other file as many times as you wish, until over-
written by another cut.
Paste: The last cut can be pasted into the current file by
positioning the cursor at the location at which the text is to
be pasted, and pressing <F8> (if function keys = commands) or
by choosing "Paste" from the Block Menu.
Copy: To copy a block of text from one location to another lo-
cation in a file, place the cursor at the beginning or end of
the block to be copied, press <F9> (if function keys = com-
mands) or choose "Copy" from the Block Menu, high-light the
block to be copied, press <Return>, move the cursor to the po-
sition at which the block is to be copied, and press <Return>.
Move: To move a block of text from one location to another lo-
cation in a file, place the cursor at the beginning or end of
the block to be moved, press <F10> (if function keys = com-
mands) or choose "Move" from the Block Menu, high-light the
block to be moved and press <Return>, move the cursor to the
position at which the block is to be moved, and press <Re-
turn>.
Chapter 7: Editing (Edit Commands cont)
Column Cut: To cut a column of text, place the cursor at the
beginning or the end of the column, press <Shift F7> (if
function keys = commands) or choose "Column Cut" from the
Block Menu, specify if you want the column cut or just stored,
high-light the column to be cut, and press <Return>. The block
that is cut is stored in a column cut file and can be column
pasted anywhere in the current file or any other file as many
times as you wish, until overwritten by another column cut.
Capture: While editing disk sectors or memory, column blocks
can be captured by pressing <Shift F7> (if function keys =
commands), high-lighting the column to be cut, and pressing
<Return>. The captured block can be retreived in a text file
by pressing <Shift F8>.
Column Paste: The last column cut can be pasted into the cur-
rent file by positioning the cursor at the location at which
the text is to be pasted, and pressing <Shift F8> (if function
keys = commands) or choosing "Column Paste" from the Block
Menu. Specify if you want to insert the cut or overwrite the
existing text.
Column Copy: To copy a column of text from one location to an-
other location in a file, place the cursor at the beginning or
end of the column to be copied, press <Shift F9> (if function
keys = commands) or choose "Column Copy" from the Block Menu,
high-light the column to be copied, press <Return>, move the
cursor to the position at which the column is to be copied,
and press <Return>. Specify if you want to insert the cut or
overwrite the existing text.
Column Move: To move a column of text from one location to an-
other location in a file, place the cursor at the beginning or
end of the column to be moved, press <Shift F10> or choose
"Column Move" from the Block Menu, high-light the column to be
moved, press <Return>, move the cursor to the position at
which the column is to be moved, and press <Return>.
Indent: To indent a block, place the cursor at the beginning
or end of the block to be indented, press <Alt I> or choose
"Indent" from the Block Menu, high-light the block to be
indented, and press <Return>. The block will be indented the
number of columns specified in Edit Setup.
Upper Case: To change the case of all letters in a block to
upper case, place the cursor at the beginning or end of the
block to be changed, choose "Upper Case" from the Block Menu,
high-light the block to be changed, and press <Return>.
Lower Case: To change the case of all letters in a block to
lower case, place the cursor at the beginning or end of the
block to be changed, choose "Lower Case" from the Block Menu,
high-light the block to be changed, and press <Return>.
Hot Print: To print a block of text, place the cursor at the
beginning or end of the block to be printed, press <Ctrl P> or
choose "Hot Print" from the Block Menu, high-light the block
to be printed, and press <Return>.
Chapter 7: Editing (Edit Commands cont)
Named Block Commands: Named block operations are identical to
block operations with the exception that they are associated with
user-specified file names. Standard cuts are saved to a file call-
ed "CUT.DAT" and standard column cuts are stored in the file named
"CCUT.DAT". Standard cuts and column cuts are, therefore, written
over with the next similar operation. If named cuts are used, any
number of cuts can be saved by using different file names. These
operations are discussed below. (The Named Block Menu is accessed
by choosing "NBlk" from the Top Menu or pressing <Alt N>.)
Named Cut: To name cut a block of text, place the cursor at
the beginning or the end of the block, press <Ctrl F7> (if
function keys = commands) or choose "Named Cut" from the Named
Block Menu, enter the file name for the cut, high-light the
block to be cut, and press <Return>. The cut is stored in a
file and can be pasted anywhere in the current file or any
other file as many times as you wish by choosing "Named Paste"
from the Named Block Menu and entering the file name.
Named Paste: To paste a named cut, position the cursor at the
location at which the block is to be pasted, press <Ctrl F8>
(if function keys = commands) or choose "Named Paste" from the
Named Block Menu, and enter the name of the cut file.
Named Column Cut: To name column cut a block of text, place
the cursor at the beginning or the end of the column and press
<Ctrl F9> (if function keys = commands) or choose "Named Col-
umn Cut" from the Named Block Menu. Enter the file name for
the cut, high-light the column to be cut, and press <Return>.
The column that is cut is stored in a file and can be pasted
anywhere in the current file, or any other file, as many times
as you wish by choosing "Named Column Paste" from the Named
Block Menu and entering the file name.
Named Column Paste: To paste a named column cut, position the
cursor at the location at which the column is to be pasted,
press <Ctrl F10> (if function keys = commands) or choose "Nam-
ed Column Paste" from the Named Block Menu, and enter the name
of the cut file.
Chapter 7: Editing (Edit Commands continued)
Attributes: The attributes of text when printed are controlled by
printer control codes derived from printer driver files. A printer
control code is sent to the printer when an attribute symbol is
encountered in the text being printed (when the attribute symbol
for condensed print in encountered in the text, the printer code
for condensed print is sent to the printer). To place an attribute
code in text, position the cursor where you want to place the code
and access the Attributes Menu by choosing "Attr" from the Top
Menu or pressing <Alt A>. From this menu you can select from 10
user-defined attributes or 12 standard attributes described below.
Standard attributes: If you select a standard attribute, use
the cursor control keys to high-light the area to change and
press <Return>. An attribute code will be placed at the begin-
ning and at the end of the block marked. When printing, a code
to set the attribute is sent to the printer when the first at-
tribute code is encountered, and a code to reset the attribute
is sent when the second attribute code is encountered. Stand-
ard attributes are listed below:
Bold
Underlined
Italics
Superscript
Subscript
Double Wide
Pica
Elite
Condensed
6 Lines per Inch
8 Lines per Inch
Double Spacing
User-Defined Attributes: These are attributes not included in
the standard attributes and represent codes entered by the
user (see Chapter 8). If you choose to insert an user-defined
attribute, enter the number of the code from 0 to 9, and press
<Return>. The attribute code will be placed at the cursor pos-
ition. Use the program PCODES.EXE, which is included on the
GEdit Distribution Disk to create user-defined codes.
User-defined attribute codes can also be inserted in the text by
placing the cursor at the position where you wish to change the
attribute, and pressing <Alt> plus the number of the code from the
number keys at the top of the keyboard.
Embedding printer codes: Printer codes can be embedded in the file
by holding <Alt> down while entering the ASCII code from the nu-
meric keypad and then releasing <Alt>.
Goto: A quick way of moving around a file is to use the goto com-
mands. These commands are discussed below. (The Goto Menu is ac-
cessed by choosing "Goto" from the Top Menu or pressing <Alt G>.)
Chapter 7: Editing (Edit Commands cont)
Goto Line: To goto a particular line in the file being edited,
choose "Goto Line" from the Goto Menu and enter the line num-
ber.
Goto Column: To goto a particular column in the file being ed-
ited, choose "Goto Column" from the Goto Menu and enter the
column number.
Goto Page: To goto a particular page in the file being edited,
choose "Goto Page" from the Goto Menu and enter the page num-
ber.
Goto Offset: If you are editing a memory segment, you can go-
to a particular offset by choosing "Goto Offset" from the Goto
Menu and entering the offset.
Locate and Replace: Commands to locate and replace strings in a
file are available in the Locate Menu. In specifing the string to
be located or replaced, "?" can be used as a wildcard to repre-
sent any single character. After entering the string you will be
asked if the search is to be case sensitive. If you reply no, the
case of the characters in the string will be disregarded. These
commands are discussed below. (The Locate Menu is accessed by
choosing "Find" from the Top Menu or pressing <Alt L>.)
Locate To locate a string in a file past the cursor position,
choose "Locate Forward", and to locate a string before the
cursor position, choose "Locate Backward" from the Locate
Menu, enter the string, and indicate if the search is to be
case-sensitive by pressing <Y> or <N>. If the string is locat-
ed, you will be asked if you wish to continue the search. To
resume a search at any time after entering a search string,
press <Ctrl-B> to search backwards, or <Ctrl-F> to search for-
ward.
Replace: To replace a string in a file past the cursor posit-
ion choose "Replace Forward", and to replace a string before
the cursor position choose "Replace Backward" from the Locate
Menu. Enter the string, indicate if the search is to be case-
sensitive by pressing <Y> or <N>, and enter the string to re-
place with. If the string is located, you will be asked if you
wish to replace the string, and then asked if you wish to con-
tinue the search.
Global Replace: To replace all strings, meeting the specified
criteria, without prompting, in a file past the cursor posit-
ion choose "Global Replace Forward", and to replace strings
before the cursor position, without prompting, choose "Global
Replace Backward" from the Locate Menu. Enter the string, in-
dicate if the search is to be case-sensitive by pressing <Y>
or <N>, and enter the string to replace with.
Count: To count the occurrences of a string in a file past the
cursor position choose "Count Forward", and to count the oc-
currences of a string before the cursor position choose "Count
Backward" from the Locate Menu, indicate if the search is to
be case-sensitive by pressing <Y> or <N>, and enter the
string.
Chapter 7: Editing (Edit Commands cont)
Line Drawing: To draw lines use the line-drawing commands which
are available in the Line-Drawing Menu. These commands are dis-
cussed below. (The Line-Drawing Menu is accessed by choosing
"Draw" from the Top Menu or pressing <Alt D>.)
Drawing: To draw a single line, choose "Draw with Single Line"
from the Line-Drawing Menu. For a double line, choose "Draw
with a Double line" from the Line-Drawing Menu. To draw with a
special character (ASCII character 219 is useful for drawing
boxes) choose "Enter Drawing Character" from the Line-Drawing
Menu. Use the cursor control keys to draw the line.
Toggling The Pen: When you enter the line-drawing mode the pen
is down (look for the down-arrow on the Status Line). To raise
the pen to enter text or to move to another location, press
<Alt -> (the <Alt -> keystroke combination toggles the pen up
and down). When ready to draw again press <Alt -> to lower the
pen. To leave line-drawing, choose "Leave Line-Drawing Mode"
from the Line-Drawing Menu.
Joining Lines: Lines that cross or meet but do not join can be
joined by choosing "Join Lines in File" from the Line-Drawing
Menu. Single and double lines are joined by this procedure.
Using Graphic Symbols: To assist in line drawing, many graphic
symbols are available by using the function keys when they are
assigned to graphics. See Chapter 6 for information on assigning
function keys and see Appendix D for the key assignments.
Matching Symbols: To determine if symbols in a file are matched by
the appropriate symbol, access the Open Symbols Menu by choosing
"OSym" from the Top Menu or pressing <Alt O>, and select the sym-
bol (parenthesis, braces, or brackets) to be checked.
File Management: Many commands are available from the File Manage-
ment Menu. These commands are discussed below. (The File Manage-
ment Menu is accessed by choosing "File" from the Top Menu or
pressing <Alt M>.)
Insert File: To insert a file at the cursor location, choose
"Insert File" from the File Management Menu and enter the file
name.
Append File: To append a file to the file being edited, choose
"Append File" from the File Management Menu, and enter the
file name.
Compare Two Files: To compare two files, both files must be
opened and displayed in the split-screen mode. The cursor can
be in either file. Choose "Compare Two Files" from the File
Management Menu. Any differences in the files will be identi-
fied by line and column number as the comparison is made.
Chapter 7: Editing (Edit Commands cont)
Change Line Length: To change the line length of a non-text
file, choose "Change Line Length" from the File Management
Menu, and enter the new line length.
Strip Page Breaks: To remove all the page breaks from a file,
choose "Strip Page Breaks" from the File Management Menu.
Strip Ruler Lines: To remove all the ruler lines from a file,
choose "Strip Ruler Lines" from the File Management Menu.
Strip 8-Bit Characters: To remove all 8-bit characters from
the file being edited, choose "Strip 8-Bit Characters" from
the File Management Menu. Any line drawing in the file will be
erased by this command.
Insert at Intervals: To insert a particular character at set
intervals in the file, choose "Insert at Intervals" from the
File Management Menu. Use this feature to add carriage returns
at the end of records, or to insert delimiters between fields.
Rebuilding Line-Ending Index: If part of the file is missing,
or there is garbage in the file, or the end-of-line symbols
appear in the line instead of at the end, the line-ending in-
dex is probably corrupted. To correct, choose "Rebuild Line-
Ending Index" from the File Management Menu.
Print Variables: Page numbers can change while editing a document,
and the current date can change between the time you edit a file
and the time you print it. GEdit will provide this information if
it encounters the appropriate symbols while printing the file.
These symbols and others that GEdit recognizes, with the variables
that they represent, are listed below:
Enter this to print this
~P Page number
~D System date
~T System time
~L Current line/paragraph
ASCII Table: To display a table of ASCII codes in decimal and hex-
idecimal with corresponding symbols, press <Alt Z>.
Changing Setup from Edit Mode: Edit settings can be changed from
the edit mode by pressing <Alt E> or choosing "Set Edit Settings"
from the Misc Menu, and the screen colors can be changed by press-
ing <Alt V> or by choosing "Set Screen Colors" from the Misc Menu.
Creating and Executing Macros: Keystroke macros can be recorded by
pressing <Ctrl R>. Enter the name of the macro (only one character
allowed) and press <Return>. All keystrokes will be recorded until
the recording is stopped by pressing <Ctrl R> again. To execute
the macro, press <Ctrl M>, enter the name of the macro, and press
<Return>. All the previously recorded keystrokes will be replayed.
Chapter 7: Editing (Edit Commands cont)
Loading File from Editor: If you wish to replace the file you are
editing with a text file, press <Ctrl O> or <F4> (if function keys
= commands), or choose "Load New File" from the Misc Menu. If you
have made changes to the current file, you will be given the op-
portunity to save the file. Then enter the file name, as you nor-
mally would, at the prompt.
Split-Screen Editing: The edit screen can be split in order to
display two files (or memory, or disk sectors) at once. The same
file can be displayed in both windows - if the file is not a dBASE
data file. This can be done in two ways:
Position the cursor on the line where you wish to split the
screen and press <Ctrl W>, or choose "Open Window" from the
Misc Menu. Select an editor from the Edit Menu. This editor
will be active in the bottom window.
You can return to the Main Menu to choose an editor. Position
the cursor on the line where you wish to split the screen and
return to the Main Menu by pressing <Alt W>, or by choosing
"Goto Main Menu" from the Misc Menu. Choose the editor you
wish to use from the Edit Menu (or to return to the edit mode
without splitting the screen press <Esc>, or choose "Return to
Editor" from the System Menu). Processing will be returned to
the edit mode with the bottom window active.
Switching Windows: To switch between windows press <Alt =>.
Running Another Program: To run another program from the editor,
press <Ctrl E> or <F5> (if function keys = commands) and enter the
complete command line (the command that you would enter at the DOS
prompt).
Shell to DOS: To shell to DOS from the editor, press <Ctrl S>, or
choose "Shell to DOS" from the Misc Menu. GEdit and the edit buf-
fer are unloaded from memory when shelling to DOS. This provides
the free memory, minus approximately 12K, that would be available
if GEdit was not loaded. Enter "EXIT" at the DOS prompt to return
to GEdit.
Saving File: To save a file without leaving the edit mode, press
<Alt S> or <F2> (if function keys = commands), or choose "Save
Current File" from the Misc Menu. Press <Return> if the file name
displayed is correct, or enter a different file name.
Quitting: To close an edit window press <Alt Q> or <F3> (if funct-
ion keys = commands), or choose "Quit Current File" from the Misc
Menu. If you are editing a file or disk sectors and you have made
changes to the file, you will asked if you want to save or to quit
without saving. Press <N> to quit without saving, or press any
other key to save the file. If only one window is open, processing
will be returned to the Main Menu, otherwise, the other window be-
comes active.
Chapter 8: Printing
The "Print" option on the Main Menu displays the Print Menu. You can
select from the following options on the Print Menu:
Print File: Before printing a file, check to ensure that the print
settings are correct and that the printer is ready. To print a
file choose "Print File" from the Print Menu and enter the file
name or press <Return> to select a file from the directory.
Eject Form: sends a form-feed character to the printer. Use this
option to eject the last page of the printed file if the printer
does not receive a form feed from the file.
Enter Print Settings: lets you specify the settings to use when
printing. The available settings are listed below. After the set-
tings are changed to your satisfaction, press <F10> to save to the
settings file, or press <Esc> to leave without saving.
File type <T>ext or <N>on-text: To print a text file enter "T"
or enter "N" to print a non-text file.
Line length for non-text files: Enter the line wrap-around
length for non-text files.
Top margin: Enter the number of lines to skip at the top of
each page.
Left margin: Enter the number of columns to skip at the begin-
ing of each line.
Pitch <P>ica, <E>lite, or <C>ondensed: Enter the number of
characters per inch. Choose "P" for 10 characters per inch,
"E" for 12 characters per inch, or <C> for 15 or 17 characters
per inch.
Lines/inch: Enter the number (6 or 8) of lines to print per
inch.
Paper length: Enter the form length in lines.
Begin on page: Enter the number of the page in the document on
which to begin printing. When printing a text file the page
number is incremented when a form feed character is encounter-
ed. When printing a non-text file the page number is incre-
mented when the number of lines in a form is reached.
End on page: Enter the number of the last page in the document
that you wish to have printed.
Pause between pages <Y> or <N> - choose "Y" if you need to
pause between pages to change paper. Printing is paused until
a key is pressed and the form feed is suppressed.
Quality <D>raft or <F>inal - choose "D" for faster draft
printing or "F" for higher quality final printing.
Chapter 8: Printing (Enter Print Settings continued)
Number of copies - enter the number of copies of the file that
you wish to print.
Printer driver - enter the name of the printer driver file
that corresponds to the printer you are using. Drivers for the
Epson FX (EPSONFX) and the HP LaserJet III (HP-III) are sup-
plied with GEdit. Use PCodes (see Chapter 13) to create addit-
ional printer drivers.
Parallel <P?> or Serial <S?> - enter the type of port to which
the printer is connected. For example, enter "P1" if the
printer is connected to parallel port number 1, or "S2" for
serial port number 2.
Baud (300, 1200, 2400, 4800, or 9600) - if you are printing
from a serial port choose the baud rate at which the printer
is set.
Handshaking for serial printers: Serial printers must be set to no
parity, 8 data bits, 1 stop bit and the protocol must be serial busy
(DTR and RCH).
Chapter 10: Quitting
To leave GEdit if no files are open, press <Esc> at the Main Menu. To
quit, even if files are open, choose "Quit" from the System Menu.
Chapter 11: Using the FC Program
If you have created a GEdit work disk, the program FC.EXE will be on
the work disk. If you have installed GEdit on a hard disk, it will be
located in the same directory as GE.EXE. To run this program, enter
"FC" at the DOS prompt.
The purpose of FC is to split large files into smaller files which
will fit into memory for editing, and to recombine these smaller files
after editing.
To split a file, choose "Breakup File" from the FC Menu, enter the
file name, and then the size you wish to make the files. Be sure that
the size that you specify is small enough to fit into memory. The
original file will be left unaltered, and smaller files of the size
you specified, will be created from this original file with the exten-
sions "1", "2", "3", etc.
To recombine the smaller files, after they have been edited, choose
"ReCombine Files" from the FC Menu. You will be given the opportunity
to make a backup of the original file before it is replaced with the
recombined files. The smaller files (with extensions "1", "2", "3",
etc.) will be combined into a file with the same name as the original
file, and will replace the original file.
Chapter 12: Using the KeyMap Program
If you have created a GEdit work disk, the program KEYMAP.EXE will be
on the work disk. If you have installed GEdit on a hard disk, it will
be located in the same directory as GE.EXE. Before you use KeyMap on a
hard disk, be sure that the AUTOEXEC.BAT file includes the statement
"SET SUPPORT=C:\GE\SUPPORT" or the directory you specified for support
files when you installed GEdit. To run this program, enter "KEYMAP" at
the DOS prompt.
The purpose of KeyMap is to assign commands to particular keystrokes.
The key assignments are stored in a file called KEY.MAP which is lo-
cated on the work disk, or in the support files directory if GEdit is
installed on a hard disk.
The main screen displays 88 commands. The number of the command pres-
ently assigned to each keystroke is displayed next to the keystroke.
To change the assignment, enter the number of the new command in the
column next to the keystroke. A command can be assigned to more than
one keystroke.
Use the <Down-Arrow> and <Up-Arrow> keys to move the cursor to the
keystroke you wish to change. The listing of keystrokes will scroll
until the bottom or top of the list is displayed. Press <End> to dis-
play the bottom of the list, and <Home> to display the top of the
list. <PgDn> moves the display down one screen, and <PgUp> moves the
display up one screen.
Press <Esc> to leave KeyMap without saving any changes, or press <F10>
to leave KeyMap and save the changes.
The file KEY.MAP is not essential to the operation of GEdit. GEdit
contains a listing of default keystroke assignments (see Appendix C),
which it uses if it cannot find KEY.MAP.
Chapter 13: Using the PCodes Program
If you have created a GEdit work disk, the program, PCODES.EXE will be
on the work disk. If you have installed GEdit on a hard disk, it will
be located in the same directory as GE.EXE. To run this program, enter
"PCODES" at the DOS prompt. Choose to create or edit a printer driver
by selecting "Standard Codes", or enter user-defined codes by select-
ing "User Defined Codes". After you enter the codes, press <F10> to
save the printer driver file, or press <Esc> to leave without saving.
GEdit looks in the GEdit support directory for driver files.
Standard Codes: Enter the name of the printer with no spaces and
with eight characters or less. Enter the codes in hex using no
spaces or delimiters. Separate set and reset codes with a "/". The
standard codes that can be entered are listed below:
Reset printer - enter the code that initializes the printer.
Draft quality - enter the code for draft quality print.
Final quality - enter the code for final quality print.
Form length in lines - enter the code for setting the form
length in lines. In place of the number which represents the
number of lines on the page, enter "XX". GEdit will supply
this number from the print settings.
Bold - enter the code for bold printing and the code for re-
setting bold print, separated by a "/". This might be the code
for emphasized or double-strike print.
Underline - enter the code for underlining and for resetting
underlining, separated by a "/".
Italics - enter the code for italics and the code for reset-
ting italics, separated by a "/".
Superscript - enter the code for superscript and the code for
resetting superscript, separated by a "/".
Subscript - enter the code for subscript and the code for re-
setting subscript, separated by a "/".
Double wide - enter the code for double wide and the code for
resetting double wide, separated by a "/".
Pica - enter the code for 10 character per inch printing and a
reset code, if there is one, separated by a "/".
Elite - enter the code for 12 character per inch printing and
a reset code, separated by a "/".
Condensed - enter the code for condensed printing and a reset
code, separated by a "/".
Chapter 13: Using the PCodes Program (cont)
6 lines/inch - enter the code for 6 lines per inch printing
and a reset code, if there is one, separated by a "/".
8 lines/inch - enter the code for 8 lines per inch printing
and a reset code, separated by a "/".
User Defined Codes: You can enter up to 10 codes. These codes are
used to supplement the standard codes and can be inserted in a
document by accessing the Attributes Menu or by pressing <Alt> and
the code number (0 - 9) from the number keys at the top of the
keyboard.
Chapter 14: Trouble Shooting
Problem: When attempting to display help screens, the message "Help
screen not found" is displayed.
Modify the AUTOEXEC.BAT file in the root directory of the bootable
drive to include a statement (i.e. SET SUPPORT=C:\GE\SUPPORT) assign-
ing the variable "SUPPORT" to the directory where the GEdit support
files are located.
Problem: Part of file is missing, garbage in file, or end-of-file sym-
bols are displayed in the line instead of at the end of the line.
This is usually caused by a corrupted line-ending index. To correct,
reindex the line-ending index by choosing "Rebuild Line-Ending Index"
from the File Management Menu.
Problem: Justification is lost while printing.
This is result of the printer not printing the blanks used by GEdit
for the purpose of justifying. To correct, choose "Convert Blanks"
from the the Format Menu to convert the blanks to spaces.
Problem: An extra character is printed in the upper left corner of the
page or elsewhere in the printout, or attributes specified in the file
are not properly printed.
This is caused by a missing or improper printer driver. Make sure that
you have the correct driver and if you do not, create one using the
program PCODES.EXE which is included on the GEdit Distribution Disk
(see Chapter 13). Make sure that the correct driver is specified in
the print settings, and lastly, make sure that the driver is in the
proper directory (the GEdit support files directory).
Problem: A disk write error when attempting to cut text.
This can be caused by insufficient disk space to hold the amount of
material being cut. Retry, using smaller cuts. If you are using GEdit
on a floppy disk, and have not created a work disk, do so by running
FINSTALL.
Problem: Everything is wrong (colors, screen width, etc.).
This is probably caused by a settings file saved by a previous version
of GEdit. The format of the settings file may change from one version
to the next as new features are added. To correct, delete all settings
files in the support directory. These files are named EDITSET?.DAT.
APPENDIX A - Menu Tree
┌───────────┐
│ MAIN MENU │
└─────┬─────┘
│
│
│
┌─────────────┬─────────────┼─────────────┬─────────────┐
│ │ │ │ │
│ │ │ │ │
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐
│ EDIT │ │ SYSTEM │ │ SETUP │ │ HELP │ │ PRINT │
└─────┬─────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
│
│
│
┌─────┴─────┐
│ TOP │
└─────┬─────┘
│
├─────────────┬─────────────┬─────────────┬─────────────┬───────┐
│ │ │ │ │ │
│ │ │ │ │ │
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ │
│ MISC │ │ FORMAT │ │ BLOCK │ │NAMED BLOCK│ │ATTRIBUTES │ │
└───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘ │
│
│
┌─────────────┬─────────────┬─────────────┬─────────────┬───────┘
│ │ │ │ │
│ │ │ │ │
┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐ ┌─────┴─────┐
│ GOTO │ │ FIND │ │ DRAW │ │ MATCH SYM │ │FILE MANAGE│
└───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
APPENDIX B - Menus
Edit Menu System Menu
┌──────────────────┐ ┌───────────────────┐
│ Text File Editor │ │ Quit │
│ Stream Editor │ │ Return to Editor │
│ Hex Editor │ │ Shell to DOS │
│ dBASE Editor │ │ Run Program │
└──────────────────┘ │ ReCombine File │
│ Redo Edit Session │
│ Copyright Screen │
Setup Menu └───────────────────┘
┌─────────────────┐
│ File Settings │ Help Menu
│ Edit Settings │
│ Screen Settings │ ┌───────────────────┐
│ Save Settings │ │ Help on GEdit │
│ Choose Settings │ │ Help on Mouse │
└─────────────────┘ │ Help on Main Menu │
│ Help on Setup │
│ Help on Editing │
│ Help on Printing │
Print Menu └───────────────────┘
┌────────────────┐
│ Print File │ Type Menu
│ Eject Form │
│ Enter Settings │ ┌────────────────────────┐
└────────────────┘ │ Non-text File │
│ Disk Sectors (file) │
│ Disk Sectors (sectors) │
dBASE Menu │ Memory │
│ Escape │
┌─────────────────┐ └────────────────────────┘
│ Create File │
│ Modi Structure │
│ Copy Structure │ Redo Menu
│ Edit File │
│ Convert to Text │ ┌───────────────┐
│ Escape │ │ Text File │
└─────────────────┘ │ Non-text File │
│ dBASE File │
│ Escape │
Misc Menu └───────────────┘
┌───────────────────┐
│ Help on Editing │ Goto Menu
│ Save Current File │
│ Load New File │ ┌─────────────┐
│ Quit Current File │ │ Goto Line │
│ Switch Window │ │ Goto Column │
│ Open Window │ │ Goto Page │
│ Goto Main Menu │ │ Goto Offset │
│ Execute Program │ │ Escape │
│ Shell to DOS │ └─────────────┘
│ Set Edit Settings │
│ Set Screen Colors │
│ Escape │
└───────────────────┘
APPENDIX B - Menus (cont)
Block Menu Line Drawing Menu
┌──────────────┐ ┌─────────────────────────┐
│ Cut │ │ Draw with Single Line │
│ Erase │ │ Draw with Double Line │
│ Paste │ │ Enter Drawing Character │
│ Copy │ │ Join Lines in File │
│ Move │ │ Leave Line-Drawing Mode │
│ Column Cut │ │ Escape │
│ Column Paste │ └─────────────────────────┘
│ Column Copy │
│ Column Move │
│ Indent │ Format Menu
│ Upper Case │
│ Lower Case │ ┌────────────────┐
│ Hot-Print │ │ Word Wrap On │
│ Escape │ │ Word Wrap Off │
└──────────────┘ │ Format │
│ Justify │
│ UnJustify │
Locate Menu │ Center String │
│ Pagenate │
┌─────────────────────────┐ │ Set Tabs │
│ Locate Forward │ │ Convert Blanks │
│ Locate Backward │ │ Convert EOL │
│ Replace Forward │ │ Escape │
│ Replace Backward │ └────────────────┘
│ Global Replace Forward │
│ Global Replace Backward │
│ Count Forward │ Open Symbols Menu
│ Count Backward │
│ Escape │ ┌────────────────────────┐
└─────────────────────────┘ │ Match Parenthesis - () │
│ Match Braces - {} │
│ Match Brackets - [] │
Named Block Menu │ Escape │
└────────────────────────┘
┌────────────────────┐
│ Named Cut │
│ Named Paste │ File Management Menu
│ Named Column Cut │
│ Named Column Paste │ ┌─────────────────────┐
│ Escape │ │ Insert File │
└────────────────────┘ │ Append File │
│ Compare Two Files │
│ Change Line Length │
│ Strip Page Breaks │
│ Strip Ruler Lines │
│ Strip 8-Bit Chars │
│ Insert at Intervals │
│ Rebuild Line Index │
│ Escape │
└─────────────────────┘
APPENDIX B - Menus (cont)
Attribute Menu Forground Color Menu
┌────────────────┐ ┌───────────────┐
│ Bold │ │ Black │
│ Underlined │ │ Blue │
│ Italics │ │ Green │
│ Superscript │ │ Cyan │
│ Subscript │ │ Red │
│ Double Wide │ │ Magneta │
│ Pica │ │ Brown │
│ Elite │ │ Light Grey │
│ Condensed │ │ Dark Grey │
│ 6 Lines/Inch │ │ Light Blue │
│ 8 Lines/Inch │ │ Light Green │
│ Double Spacing │ │ Light Cyan │
│ User Defined │ │ Light Red │
│ Escape │ │ Light Magenta │
└────────────────┘ │ Yellow │
│ White │
└───────────────┘
Background Color Menu
┌───────────────┐
│ Black │
│ Blue │
│ Green │
│ Cyan │
│ Red │
│ Magneta │
│ Brown │
│ Light Grey │
└───────────────┘
APPENDIX C - Edit Commands
Command Action Default Key Stroke File Type *
┌─┬─┬─┬─┐
│T│N│M│S│
├─┼─┼─┼─┤
{HELP} Help Alt H or F1 ** │X│X│X│X│
{SAVE} Save Current File Alt S or F2 │X│X│ │ │
{QUIT} Close Current File ALT Q or F3 │X│X│X│X│
{LOAD} Load New Text File Ctrl O or F4 │X│X│X│X│
{RUN} Execute Another Program Ctrl E or F5 │X│X│X│X│
{SHELL} Shell to DOS Ctrl S │X│X│X│X│
{WINDOW} Open Window Ctrl W │X│X│X│X│
{SWITCH} Switch Window Alt = │X│X│X│X│
{EDITSET} Edit Setup Alt E │X│X│X│X│
{SCREENSET} Screen Color Setup Alt V │X│X│X│X│
{ASCII} ASCII Table Alt Z │X│X│X│X│
│ │ │ │ │
Cursor Control: │ │ │ │ │
│ │ │ │ │
{LEFT} Go Left One Column Left-Arrow │X│X│X│X│
{RIGHT} Go Right One Column Right-Arrow │X│X│X│X│
{CUP} Go Up One Line Up-Arrow │X│X│X│X│
{CDOWN} Go Down One Line Down-Arrow │X│X│X│X│
{HOME} Goto Beginning of Line Home │X│X│X│X│
{EOL} Goto End of Line End │X│X│X│X│
{PWORD} Previous Word Ctrl Left-Arrow │X│X│X│X│
{NWORD} Next Word Ctrl Right-Arrow │X│X│X│X│
{SLEFT} Screen-Shift Left Shift F1 │X│X│X│X│
{SRIGHT} Screen-Shift Right Shift F2 │X│ │ │ │
{PGUP} Go Up one Screen PgUp │X│X│X│X│
{PGDN} Go Down one Screen PgDn │X│X│X│X│
{TOP} Go To Top of Screen Ctrl PgUp │X│X│X│X│
{BOTTOM} Go to Bottom of Screen Ctrl PgDn │X│X│X│X│
{BEGIN} Goto Beginning of File Ctrl Home │X│X│X│X│
{END} Goto End of File Ctrl End │X│X│X│X│
{TAB} Jump to Next Tab Tab │X│X│X│X│
{BTAB} Jump to Previous Tab Shift Tab │X│X│X│X│
{JUMP} Jump to Stop Ctrl N │X│ │ │ │
└─┴─┴─┴─┘
* T ASCII text file, including imported files
N non-text file, including dBASE files and disk sectors as file
M memory
S disk sectors as sectors
** Function keys can be used for commands only when assigned as command
keys (To change function key assignments go to the Edit Setup)
APPENDIX C - Edit Commands (cont)
Command Action Default Key Stroke File Type
┌─┬─┬─┬─┐
Editing: │T│N│M│S│
├─┼─┼─┼─┤
{DELETE} Delete Character at Cursor Del │X│X│ │ │
{UNDEL} Undo Delete Character Ctrl D │X│X│ │ │
{BSPACE} Delete Character Left of Cur Backspace │X│X│ │ │
{KILL} Delete Word Alt K │X│ │ │ │
{UNKILL} Undo Kill Word Ctrl K │X│ │ │ │
{DEOL} Delete to End of Line Alt Y │X│ │ │ │
{UNEOL} Undo Delete to End of Line Ctrl Y │X│ │ │ │
{DLINE} Delete Line Alt X │X│X│ │ │
{UNLINE} Undo Delete Line Ctrl X │X│X│ │ │
{NEWLINE} Insert End-of-Line Mark Return │X│ │ │ │
{TINSERT} Toggle Insert Off/On Ins │X│X│ │ │
{TPEN} Raise/Lower Pen Alt - │X│ │ │ │
{RMACRO} Record Keystroke Macro Ctrl R │X│X│X│X│
{RMACRO} Stop Recording Macro Ctrl R │X│X│X│X│
{MACRO} Execute Keystroke Macro Ctrl M │X│X│X│X│
{EMBED?} Embed User Defined Codes Alt 0 - Alt 9 │X│ │ │ │
{INDENT} Indent Block Alt I │X│ │ │ │
{REWRAP} ReDo Word Wrap for Block Ctrl A │X│ │ │ │
{JUSTIFY} Justify Block Alt J │X│ │ │ │
{UNJUSTIFY} UnJustify Block Ctrl J │X│ │ │ │
{CENTER} Center String Alt C │X│ │ │ │
{RULER} Insert Ruler Line Alt R │X│ │ │ │
{PAGE} Insert Page Break Alt P │X│ │ │ │
{ERASE} Erase Block F6 │X│X│ │ │
{CUT} Cut Block F7 │X│X│ │ │
{PASTE} Paste Block F8 │X│X│ │ │
{COPY} Copy Block F9 │X│X│ │ │
{MOVE} Move Block F10 │X│X│ │ │
{CCUT} Column Cut Shift F7 │X│X│ │ │
{CAPTURE} Capture Shift F7 │ │ │X│X│
{CPASTE} Column Paste Shift F8 │X│X│ │ │
{CCOPY} Column Copy Shift F9 │X│X│ │ │
{CMOVE} Column Move Shift F10 │X│X│ │ │
{NCUT} Named Cut Block Ctrl F7 │X│X│ │ │
{NPASTE} Named Paste Block Ctrl F8 │X│X│ │ │
{NCCUT} Named Column Cut Ctrl F9 │X│X│ │ │
{NCPASTE} Named Column Paste Ctrl F10 │X│X│ │ │
{BSEARCH} Continue Search Backward Ctrl B │X│X│X│X│
{FSEARCH} Continue Search Forward Ctrl F │X│X│X│X│
{UPCASE} Upper Case Block Ctrl U │X│ │ │ │
{LOWCASE} Lower Case Block Ctrl L │X│ │ │ │
└─┴─┴─┴─┘
APPENDIX C - Edit Commands (cont)
Command Action Default Key Stroke File Type
┌─┬─┬─┬─┐
Menus: │T│N│M│S│
├─┼─┼─┼─┤
{GEMENU} GEdit Menu Alt W │X│X│X│X│
{TMENU} Top Menu Alt T or F1 │X│X│X│X│
{UMENU} Misc Menu Alt U │X│X│X│X│
{FMMENU} File Management Menu Alt M │X│X│ │ │
{GMENU} Goto Menu Alt G │X│X│X│X│
{LMENU} Locate Menu Alt L │X│X│X│X│
{BMENU} Block-Function Menu Alt B │X│X│X│X│
{NMENU} Named Block-Function Menu Alt N │X│X│X│X│
{AMENU} Attributes Menu Alt A │X│ │ │ │
{DMENU} Line-Drawing Menu Alt D │X│ │ │ │
{OMENU} Open Symbols Menu Alt O │X│ │ │ │
{FMENU} Format Menu Alt F │X│ │ │ │
│ │ │ │ │
Printing: │ │ │ │ │
│ │ │ │ │
{HPRINT} Hot Print Block * Ctrl P │X│X│X│X│
│ │ │ │ │
To Print: │ │ │ │ │
page number ~P │X│ │ │ │
system date ~D │X│ │ │ │
system time ~T │X│ │ │ │
current line/paragraph ~L │X│ │ │ │
└─┴─┴─┴─┘
* Hot Print prints only the file contents, attribute codes and symbols
are not functional.
APPENDIX D - Function Key Assignments:
Command Keys:
F1 to Goto Main Edit Menu F6 to Erase
F2 to Save Current File F7 to Cut
F3 to Quit Current File F8 to Paste
F4 to Load New Text File F9 to Copy
F5 to Execute Another Program F10 to Move
Shift F7 to Column Cut Ctrl F7 to Named Cut
Shift F8 to Column Paste Ctrl F8 to Named Paste
Shift F9 to Column Copy Ctrl F9 to Named Column Cut
Shift F10 to Column Move Ctrl F10 to Named Column Paste
Graphic Characters:
F1 ─ Shift-F1 ═ Alt-F1 ╧ Ctrl-F1 ┼
F2 │ Shift-F2 ║ Alt-F2 ╨ Ctrl-F2 ╬
F3 │ Shift-F3 ║ Alt-F3 ╤ Ctrl-F3 ╡
F4 └ Shift-F4 ╚ Alt-F4 ╥ Ctrl-F4 ╢
F5 ┐ Shift-F5 ╗ Alt-F5 ╙ Ctrl-F5 ╖
F6 │ Shift-F6 ║ Alt-F6 ╘ Ctrl-F6 ╕
F7 ┴ Shift-F7 ╩ Alt-F7 ╒ Ctrl-F7 ╜
F8 ┬ Shift-F8 ╦ Alt-F8 ╓ Ctrl-F8 ╛
F9 │ Shift-F9 ║ Alt-F9 ╫ Ctrl-F9 ╞
F10 ┤ Shift-F10 ╣ Alt-F10 ╪ Ctrl-F10 ╟
Math/Greek Characters:
F1 ¼ Shift-F1 ° Alt-F1 ε
F2 ½ Shift-F2 ∙ Alt-F2 Θ
F3 ≡ Shift-F3 √ Alt-F3 µ
F4 ± Shift-F4 ⁿ Alt-F4 ∞
F5 ≥ Shift-F5 ² Alt-F5 π
F6 ≤ Shift-F6 α Alt-F6 Σ
F7 ⌠ Shift-F7 ß Alt-F7 σ
F8 ⌡ Shift-F8 Γ Alt-F8 Φ
F9 ÷ Shift-F9 τ Alt-F9 φ
F10 ≈ Shift-F10 δ Alt-F10 Ω
APPENDIX E - DOS Error codes
1 Invalid function
2 File not found
3 Path not found
4 Too many files open
5 Access denied
6 Invalid handle
8 Insufficient memory
9 Invalid memory block address
10 Invalid environment
11 Invalid format
12 Invalid access code
13 Invalid data
14 Reserved
15 Invalid drive specified
16 Attempt to remove current directory
17 Not the same device
18 No more files
19 Write-protected disk
20 Unknown unit
21 Device not ready
22 Unknown command
23 Disk data error
24 bad request structure length
25 Disk seek error
26 Unknown disk media type
27 Disk sector not found
28 Printer out of paper
29 Write fault
30 Read fault
31 General failure
32 Sharing violation
33 Lock violation
34 Invalid disk change
35 FCB unavailable
36 Sharing buffer overflow
37-49 Reserved
50 Network request not supported
51 Remote computer not listening
52 Duplicate name on network
53 Network name not found
54 Network busy
55 Network device no longer exists
56 Net BIOS command limit exceeded
57 Network adapter error
58 Incorrect network response
59 Unexpected network error
60 Incompatible remote adapter
61 Print queue full
62 Not enough space for print file
63 Print file deleted
64 Network name deleted
APPENDIX E - DOS Error codes (cont)
65 Access denied
66 Network device type incorrect
67 Network name not found
68 Network name limit exceeded
69 Net BIOS session limit exceeded
70 Temporary paused
71 Network request not accepted
72 Print or disk redirection is paused
73-79 Reserved
80 File already exists
81 Reserved
82 Cannot make directory entry
83 Fail on Int 24
84 Too many redirections
85 Duplicate redirection
86 Invaild password
87 Invalid parameters
88 Network data fault
100 Disk read error
101 Disk write error
102 File not assigned
103 File not open
104 File not open for input
105 File not open for output
106 Invalid numeric format
150 Disk is write protected
151 Unknown unit
152 Drive not ready
153 Unknown command
154 CRC error in data
155 Bad drive request structure length
156 Disk seek error
157 Unknown media type
158 Sector not found
159 Printer out of paper
160 Device write fault
161 Device read fault
162 Hardware failure
200 Division by zero
202 Stack overflow
203 Heap overflow
204 Invalid pointer
205 Floating point overflow
207 Invalid floating point error
208 Overlay manager not installed
209 Overlay file read error
APPENDIX F - Bug Report/Suggestion Form
BUG REPORT/SUGGESTION FORM FOR GEDIT
If you encounter a bug while using GEdit please describe the bug and
the situation in which it occurred on this form, or if you have a sug-
gestion for improving GEdit, describe your suggestion on this form and
mail to the address listed below.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Mail to: Cat Creek Enterprises, Inc.
P. O. Box 606
Bristol, TN 37621-0606
APPENDIX G - Registering GEdit
GEdit must be registered if you find it useful and intend to continue
to use it beyond the 30-day trial period. Upon registration you will
be sent the latest version of GEdit and you will be sent all updates
for a period of one year from the date of registration.
To register GEdit you can submit the registration form below, directly
to Cat Creek Enterprises, Inc., or you can register using your MC,
Visa, AmEx, or Discovery card by calling Public (software) Library at
800-242-4PsL (from overseas: 713-524-6394) or by FAX to 713-524-6398
or by Compuserve to 71355,470. Specify item number 10569.
The numbers listed above are for ordering only. Cat Creek Enterprises,
Inc. can NOT be reached at those numbers. To contact Cat Creek Enter-
prises, Inc. for information about dealer pricing, volume discounts,
site licensing, the status of shipment of the product, the latest ver-
sion number or for technical information, or to discuss returns, write
to Cat Creek Enterprises, Inc. at P. O. Box 606, Bristol, TN 37621.
REGISTRATION FORM FOR GEDIT
To register, fill out this form, enclose $50.00 (Tennessee residents
add 7.75 % sales tax) for each copy you wish to register, and mail to
the address listed at the bottom of the form.
DATE: _____________ TELEPHONE NUMBER: ________________________________
NAME: ________________________________________________________________
PURCHASE ORDER NUMBER: _______________________________________________
COMPANY: _____________________________________________________________
ADDRESS: _____________________________________________________________
______________________________________________________________________
______________________________________________________________________
No registration fee is required for the use of GEdit for educational
purposes by educational institutions. If you are registering GEdit for
this purpose, check the box below and do not send any money.
EDUCATIONAL USE [ ]
NUMBER OF COPIES: ____ X AMOUNT/COPY ($50.00) = ____________________
If Tennessee Resident add sales tax on next line:
NUMBER OF COPIES: ____ X AMOUNT/COPY ($3.88) = ____________________
TOTAL = ____________________
5 1/4 INCH DISK [ ] 3 1/2 INCH DISK [ ]
MAIL TO: Cat Creek Enterprises, Inc.
P. O. Box 606
Bristol, TN 37621-0606